package com.example.gokchinesefoodmappcdev.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 商品sku信息(GoodsSku)实体类
 *
 * @author makejava
 * @since 2022-11-27 15:48:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("goods_sku")
public class GoodsSku implements Serializable {
    private static final long serialVersionUID = 689305443397261930L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 商品id
     */
    private Integer goodId;
    /**
     * 规格搭配方式
     */
    private String attrSymbolPath;
    /**
     * 价格
     */
    private Double price;
    /**
     * 库存数量
     */
    private Integer stock;
    /**
     * 销量
     */
    private Integer sales;
    /**
     * 是否历史，1历史，0在用
     */
    private String isHis;
    /**
     * 重量
     */
    private String weight;
    /**
     * 商品规格编码
     */
    private String goodUniqueCode;
    /**
     * 商品名
     */
    private String goodName;
    /**
     * 规格文字描述
     */
    private String attrSymbolText;
    /**
     * sku图片
     */
    private String skuPic;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public String getAttrSymbolPath() {
        return attrSymbolPath;
    }

    public void setAttrSymbolPath(String attrSymbolPath) {
        this.attrSymbolPath = attrSymbolPath;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public String getIsHis() {
        return isHis;
    }

    public void setIsHis(String isHis) {
        this.isHis = isHis;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getGoodUniqueCode() {
        return goodUniqueCode;
    }

    public void setGoodUniqueCode(String goodUniqueCode) {
        this.goodUniqueCode = goodUniqueCode;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getAttrSymbolText() {
        return attrSymbolText;
    }

    public void setAttrSymbolText(String attrSymbolText) {
        this.attrSymbolText = attrSymbolText;
    }

    public String getSkuPic() {
        return skuPic;
    }

    public void setSkuPic(String skuPic) {
        this.skuPic = skuPic;
    }

}

